package com.gitee.lougnib.hellowebim.module.chatroom.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.gitee.lougnib.hellowebim.module.chatroom.constant.ChatRoomConsts;

@Controller
@RequestMapping(ChatRoomConsts.PATH_ROOT)
public class ChatRoomViewController {

	private static final String VERSION = "20211015A";

	@RequestMapping("index")
	public String index(Model model) {
		model.addAttribute("moduleVersion", VERSION);
		return "/webim/chatroom/ChatRoom";
	}
}
